<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link href="/css/layui.css" rel="stylesheet">
<script src="/js/jquery.min.js?v=2.1.4"></script>
<script src="/js/layui.js"></script>
<script src="/js/plugins/layer/layer.min.js"></script>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div style="width: auto;height: 80px; margin-top: 1%;"
						 class="form-inline">
						<div class="form-inline row">
							<label style="margin-left: 1.3%;" class="form-inline">产品名称：</label>
							<input id="productName" style="width: 20%;" type="text"
								   class="form-control " autocomplete="off" placeholder="产品名称">
							<label style="margin-left: 1.3%;" class="form-inline">规格：</label>
							<input id="productGuige" style="width: 10%;" type="text"
								   class="form-control " autocomplete="off" placeholder="规格">
							<button style="margin-left: 1%;" class="btn btn-success"
									onclick="reLoad()">查询</button>
							<button class="btn btn-success" onclick="clearInfo()"
									style="margin-left: 0.5%;">重置</button>

							<button id='import' type="button" class="btn  btn-primary" style="margin-left: 2%;">
								<i class="glyphicon glyphicon-import" aria-hidden="true"></i>导入
							</button>
						</div>
					</div>
					<table id="exampleTable" data-mobile-responsive="true">
					</table>
				</div>
			</div>
		</div>
	</div>
	<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
		<div>
			<script type="text/javascript">
				var s_edit_h = 'hidden';
				var s_remove_h = 'hidden';
				var s_resetPwd_h = 'hidden';
			</script>
		</div>
		<div shiro:hasPermission="system:config:edit">
			<script type="text/javascript">
				s_edit_h = '';
			</script>
		</div>
		<div shiro:hasPermission="system:config:remove">
			<script type="text/javascript">
				var s_remove_h = '';
			</script>
		</div>
		<div shiro:hasPermission="system:config:resetPwd">
			<script type="text/javascript">
				var s_resetPwd_h = '';
			</script>
		</div>
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/appjs/system/config/config.js"></script>
</body>
</html>